package ooday2;

public class Test {
    public static void main(String[] args) {
        Student wangxia=new Student("王夏",30,"BJ","java2030","0001");
        wangxia.eat();
        wangxia.sayHi();
        wangxia.study();
        wangxia.sleep();
        Teacher wangwang=new Teacher("俊雅",20,"DJ",9700);
        wangwang.eat();
        wangwang.sayHi();
        wangwang.study();
        wangwang.sleep();
        Doctor doctor=new Doctor("军省",12,"FG","星球护理师");
        doctor.eat();
        doctor.sayHi();
        doctor.cut();
        doctor.sleep();











    }
}
